const env_config = require('./env_config');

module.exports = {
  MYSQL_CONF: {
    base: {
      host: 'localhost',
      dialect: 'mysql',
      pool: {
        max: 5, //最大连接数
        min: 0,
        idle: 10000
      },
      logging: false //关闭log输出
    },
    conf: ['algorithm_final_design', 'root', env_config.mysql]
  },
  REDIS_CONF: [
    '6379',
    '127.0.0.1'
  ]
};